<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>iframe内嵌框架 | Introduction</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../css/CSS语法.html" />
    
    
    <link rel="prev" href="../html/音频和视频-标签.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.7"
        data-chapter-title="iframe内嵌框架"
        data-filepath="html/iframe内嵌框架.md"
        data-basepath=".."
        data-revision="Wed Apr 18 2018 23:41:29 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
            <span><b>1.</b> HTML</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/html的基本结构和内容.html">
            
                
                    <a href="../html/html的基本结构和内容.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        HTML
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="html/a-标签.html">
            
                
                    <a href="../html/a-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        a-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="html/img.html">
            
                
                    <a href="../html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        img-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/biaoge.html">
            
                
                    <a href="../html/biaoge.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table-表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/列表与表单.html">
            
                
                    <a href="../html/列表与表单.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        列表与表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="html/音频和视频-标签.html">
            
                
                    <a href="../html/音频和视频-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1.7" data-path="html/iframe内嵌框架.html">
            
                
                    <a href="../html/iframe内嵌框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        iframe内嵌框架
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
            <span><b>2.</b> CSS</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/CSS语法.html">
            
                
                    <a href="../css/CSS语法.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        CSS基本语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="css/选择器.html">
            
                
                    <a href="../css/选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/伪类.html">
            
                
                    <a href="../css/伪类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        伪类
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="css/盒子模型.html">
            
                
                    <a href="../css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="css/字体.html">
            
                
                    <a href="../css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        字体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="css/行高.html">
            
                
                    <a href="../css/行高.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        行高
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >Introduction</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <p><img src="../img/123.png" alt="&#x56FE;&#x7247;"></p>
<h1 id="welcome-to-use-my-xtnotebook">Welcome to use My XT-Notebook</h1>
<h2 id="iframe&#x5185;&#x5D4C;&#x6846;&#x67B6;">iframe&#x5185;&#x5D4C;&#x6846;&#x67B6;</h2>
<h3 id="1iframe&#x57FA;&#x672C;&#x5185;&#x5BB9;">1.iframe&#x57FA;&#x672C;&#x5185;&#x5BB9;</h3>
<h3 id="a">a</h3>
<table>
<thead>
<tr>
<th style="text-align:center">&#x7C7B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">&#x4F7F;&#x7528;&#x573A;&#x666F;</td>
<td style="text-align:center">&#x5F15;&#x7528;&#x7B2C;&#x4E09;&#x65B9;&#x529F;&#x80FD;&#xFF0C;&#x4F8B;&#x5982;&#x5BA2;&#x670D;&#x7CFB;&#x7EDF;</td>
</tr>
<tr>
<td style="text-align:center"></td>
<td style="text-align:center">&#x5F15;&#x5165;&#x522B;&#x4EBA;&#x7684;&#x9875;&#x9762;&#x4F5C;&#x4E3A;&#x5C55;&#x793A;&#x4F5C;&#x7528;</td>
</tr>
<tr>
<td style="text-align:center">&#x6CE8;&#x610F;</td>
<td style="text-align:center">&#x5F15;&#x5165;&#x7684;&#x9875;&#x9762;&#x6BD5;&#x7ADF;&#x662F;&#x522B;&#x4EBA;&#x7684;&#x4EE3;&#x7801;&#xFF0C;&#x6CA1;&#x529E;&#x6CD5;&#x5B9A;&#x5236;&#x5316;&#x548C;&#x4FEE;&#x6539;</td>
</tr>
<tr>
<td style="text-align:center">frameborder</td>
<td style="text-align:center">&#x5185;&#x5D4C;&#x6846;&#x67B6;&#x7684;&#x8FB9;&#x6846;</td>
</tr>
<tr>
<td style="text-align:center">scrolling</td>
<td style="text-align:center">&#x6846;&#x67B6;&#x662F;&#x5426;&#x9700;&#x8981;&#x6EDA;&#x52A8;&#x6761;</td>
</tr>
</tbody>
</table>
<h3 id="b">b</h3>
<table>
<thead>
<tr>
<th style="text-align:center">target&#x7C7B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">_self</td>
<td style="text-align:center">&#x5F53;&#x524D;&#x7A97;&#x53E3;&#x6253;&#x5F00;&#xFF08;&#x9ED8;&#x8BA4;&#xFF09;</td>
</tr>
<tr>
<td style="text-align:center">_blank</td>
<td style="text-align:center">&#x4F7F;&#x7528;&#x65B0;&#x7A97;&#x53E3;&#x6253;&#x5F00;</td>
</tr>
<tr>
<td style="text-align:center">_parent</td>
<td style="text-align:center">&#x8981;&#x914D;&#x5408;iframe&#x4F7F;&#x7528;</td>
</tr>
<tr>
<td style="text-align:center">_top</td>
<td style="text-align:center">&#x8981;&#x914D;&#x5408;iframe&#x4F7F;&#x7528;</td>
</tr>
</tbody>
</table>
<h3 id="2iframe&#x57FA;&#x672C;&#x67B6;&#x6784;">2.iframe&#x57FA;&#x672C;&#x67B6;&#x6784;</h3>
<pre><code>&lt;html style=&quot;height: 100%;&quot;&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;utf-8&quot; /&gt;
        &lt;title&gt;iframe&#x5185;&#x5D4C;&#x6846;&#x67B6;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body  style=&quot;height: 100%; overflow:hidden ;&quot;&gt;

        &lt;!--
            a&#x6807;&#x7B7E;
                href &#x8DF3;&#x8F6C;&#x94FE;&#x63A5;&#x3001;&#x6253;&#x7535;&#x8BDD; tel&#xFF1A;134487878&#x3001;mailto:123@qq.com&#x3001;#&#x951A;&#x70B9;&#x540D;
                target &#x76EE;&#x6807;&#xFF0C;&#x6253;&#x5F00;&#x8DF3;&#x8F6C;&#x94FE;&#x63A5;&#x7684;&#x65B9;&#x5F0F;&#xFF0C;&#x9ED8;&#x8BA4;&#x5F53;&#x524D;&#x7A97;&#x53E3;&#x6253;&#x5F00;
        --&gt;
        &lt;!--
            target:
                _self:        &#x5F53;&#x524D;&#x7A97;&#x53E3;&#x6253;&#x5F00;&#xFF08;&#x9ED8;&#x8BA4;&#xFF09;
                _blank&#xFF1A;        &#x4F7F;&#x7528;&#x65B0;&#x7A97;&#x53E3;&#x6253;&#x5F00;
                _parent:    &#x8981;&#x914D;&#x5408;iframe&#x4F7F;&#x7528;
                _top&#xFF1A;        &#x8981;&#x914D;&#x5408;iframe&#x4F7F;&#x7528;
        --&gt;
        &lt;!--&lt;a href=&quot;&quot; target=&quot;&quot;&gt;&lt;/a&gt;--&gt;
        &lt;!--
            iframe
                &#x4F7F;&#x7528;&#x573A;&#x666F;&#xFF1A;
                    1.&#x5F15;&#x7528;&#x7B2C;&#x4E09;&#x65B9;&#x529F;&#x80FD;&#xFF0C;&#x4F8B;&#x5982;&#x5BA2;&#x670D;&#x7CFB;&#x7EDF;
                    2.&#x5F15;&#x5165;&#x522B;&#x4EBA;&#x7684;&#x9875;&#x9762;&#x4F5C;&#x4E3A;&#x5C55;&#x793A;&#x4F5C;&#x7528;
                &#x6CE8;&#x610F;&#xFF1A;
                    &#x5F15;&#x5165;&#x7684;&#x9875;&#x9762;&#x6BD5;&#x7ADF;&#x662F;&#x522B;&#x4EBA;&#x7684;&#x4EE3;&#x7801;&#xFF0C;&#x6CA1;&#x529E;&#x6CD5;&#x5B9A;&#x5236;&#x5316;&#x548C;&#x4FEE;&#x6539;
            frameborder    &#x5185;&#x5D4C;&#x6846;&#x67B6;&#x7684;&#x8FB9;&#x6846;
            scrolling    &#x6846;&#x67B6;&#x662F;&#x5426;&#x9700;&#x8981;&#x6EDA;&#x52A8;&#x6761;
        --&gt;
        &lt;iframe src=&quot;http://baidu.com&quot; width=&quot;100%&quot; height=&quot;100%&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot;
            &gt;&lt;/iframe&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre><h3 id="3iframe&#x4E0E;a&#x6807;&#x7B7E;&#x7684;&#x914D;&#x5408;&#x4F7F;&#x7528;">3.iframe&#x4E0E;a-&#x6807;&#x7B7E;&#x7684;&#x914D;&#x5408;&#x4F7F;&#x7528;</h3>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;a&#x548C;iframe&#x7ED3;&#x5408;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;a href=&quot;http://baidu.com&quot; target=&quot;_self&quot;&gt;&#x8DF3;&#x8F6C;&#x767E;&#x5EA6;(&#x9ED8;&#x8BA4;_self)&lt;/a&gt;
        &lt;p&gt;_self&#xFF1A;&#x5728;&#x672C;&#x6846;&#x67B6;&#x4E0B;&#x8DF3;&#x8F6C;&lt;/p&gt;

        &lt;a href=&quot;http://baidu.com&quot; target=&quot;_blank&quot;&gt;&#x8DF3;&#x8F6C;&#x767E;&#x5EA6;(_blank)&lt;/a&gt;
        &lt;p&gt;_blank&#xFF1A;&#x4F7F;&#x7528;&#x65B0;&#x7A97;&#x53E3;&#x6253;&#x5F00;&#x9875;&#x9762;&lt;/p&gt;

        &lt;a href=&quot;http://baidu.com&quot; target=&quot;_parent&quot;&gt;&#x8DF3;&#x8F6C;&#x767E;&#x5EA6;(_parent)&lt;/a&gt;
        &lt;p&gt;_parent&#xFF1A;&#x63A7;&#x5236;&#x7236;&#x7A97;&#x53E3;&#x8FDB;&#x884C;&#x6D4B;&#x8BD5;&lt;/p&gt;

        &lt;a href=&quot;http://baidu.com&quot; target=&quot;_top&quot;&gt;&#x8DF3;&#x8F6C;&#x767E;&#x5EA6;(_top)&lt;/a&gt;
        &lt;p&gt;_top&#xFF1A;&#x63A7;&#x5236;&#x6700;&#x9876;&#x5C42;&#x7684;&#x7236;&#x4EB2;&#x7A97;&#x53E3;&#x8DF3;&#x8F6C;&lt;/p&gt;


    &lt;/body&gt;
&lt;/html&gt;
</code></pre>
                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../html/音频和视频-标签.html" class="navigation navigation-prev " aria-label="Previous page: 音频与视频"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../css/CSS语法.html" class="navigation navigation-next " aria-label="Next page: CSS基本语法"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
